#include <stdio.h>

int main()
{
    int ge,shi,bai,qian,wan;
    int a = 12345;
    ge = a % 10;
    shi = (a / 10) % 10;
    bai = (a / 100) % 10;
    qian = (a / 1000) % 10;
    wan = (a / 10000) % 10;

    printf("  ge:%d\n  shi:%d\n  bai:%d\n  qian:%d\n  wan:%d\n",ge,shi,bai,qian,wan);
    

    return 0;



}